﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Google1.aspx.cs" Inherits="autocomplete_Google1" %>

<%@ Register Assembly="zoyobar.shared.panzer.JQueryElement" Namespace="zoyobar.shared.panzer.ui.jqueryui"
	TagPrefix="je" %>
<%@ Register Assembly="zoyobar.shared.panzer.JQueryElement" Namespace="zoyobar.shared.panzer.web.jqueryui"
	TagPrefix="je" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title>像 Google 一样给出建议词条</title>
	<link rel="stylesheet" type="text/css" href="../css/smoothness/jquery-ui-1.8.15.custom.css" />
	<script type="text/javascript" src="../js/jquery-1.6.2.min.js"></script>
	<script type="text/javascript" src="../js/jquery-ui-1.8.15.custom.min.js"></script>
	<link rel="stylesheet" type="text/css" href="../css/main.css" />
</head>
<body>
	<form id="formGoogle1" runat="server">
	<div class="title purple-title">
		像 Google 一样给出建议词条
		<iframe src="../about.htm" frameborder="0" height="160" width="100%" allowtransparency="true" scrolling="no"></iframe>
	</div>
	<div class="content">
		<h2>
			说明
		</h2>
		<blockquote>
			本页代码使用 ashx 获取数据.<br />
			<br />
			请确保已经阅读 <a href="../returnjson/Default.aspx">在不同的 .NET 版本中返回 JSON</a>.<br />
			<br />
			<strong>视频解说:</strong> <a href="http://www.tudou.com/programs/view//" target="_blank">
				www.tudou.com/programs/view//</a>
		</blockquote>
		<h2>
			示例
		</h2>
		<blockquote>
			<je:Autocomplete ID="k" runat="server" IsVariable="true" SourceAsync-Url="google_getitem.ashx" Delay="500">
			</je:Autocomplete>
			<je:Button ID="s" runat="server" Label="搜索" Click="
			function(){
				alert('当前输入条件为: ' + k.val());
			}
			">
			</je:Button>
		</blockquote>
	</div>
	</form>
</body>
</html>
